package com.info33.platform.business.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.info33.platform.business.app.entity.AppMenu;
import com.info33.platform.business.app.vo.AppMenuVO;
import com.info33.platform.common.mvc.vo.Result;

import java.util.List;

/**
 * @author admin
 */
public interface AppMenuService extends IService<AppMenu> {

    /**
     * pc - 新增菜单
     *
     * @param appMenu-
     * @return -
     */
    Result<Object> pcAdd(AppMenu appMenu);

    /**
     * pc - 删除
     *
     * @param mid-
     * @return -
     */
    Result<Object> pcDelete(Long mid);

    /**
     * pc - 菜单树
     *
     * @return -
     */
    List<AppMenuVO> pcTree();
}